body{
    background-color: dodgerblue;
}

h1,p{
    margin: 0;
    padding: 0;
}

/*媒介查询*/
@media screen and (min-width:1200px)  {
    h1 {
        color:deepskyblue;
    }
    .wrapper{
        width: 1328px;
        margin: 0 auto;
        background-color: royalblue;
    }
    .header{
        width: 1328px;
        margin: 0 auto;
        background-color: cornflowerblue;
    }
    .main{
        width: 1328px;
        margin: 0 auto;
    }
    .footer{
        width: 1328px;
        margin: 0 auto;
        background-color: deepskyblue;
    }
    .sidebar{
        float: left;
        width: 245px;margin-right: 5px;
        background-color: crimson;
        min-height: 600px;
    }
    .content{
        float: left;
        width: 1078px;
        background-color: aqua;
        min-height: 600px;
    }
    @media screen and (min-width: 980px)and (max-width: 1199px){
        h1{
            color: #c82333;
        }
    }
    @media screen and (min-width: 768px )and (max-width: 979px){
        h1{
            color: orangered;
        }
    }
    @media screen and (min-height: 480px)and (max-height: 767px){
        h1{
            color: deeppink;
        }
    }
    @media screen and (max-height: 479px){
        h1 {
            color: #fff211;
        }
    }


}